<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<f:view xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.prime.com.tr/ui">

	<h:body>

		<ui:composition template="static/theme/censo2011/main.xhtml">
		
	<ui:define name="navegacion">
	</ui:define>
	
			<ui:define name="contenido">
			<ui:include src="static/theme/censo2011/criterio.xhtml" />

<h:form>
<table border="0" align="center">

<tr >
<td ><h1><b>PAGO DIRECTO</b></h1></td>
</tr>

<tr>
<td ><h:commandButton value="Genera el Pago" action="#{PagoDirecto.paga}" /></td>
</tr>


<tr >
<td >
	<h:outputText value="#{PagoDirecto.mensaje}"/>
</td>
</tr>


<tr>
<td >
	<INPUT type="button" name="btnCSV" value="ARCHIVO PLANO" onclick="launch_salida_csv();"/>
</td>
</tr>



</table>

<script type="text/javascript">
//<![CDATA[      
	function launch_salida_csv(){
		win=window.open("gen_rep_na?reporte=pago_salida2&tipo=CSV&ps_nropago=3","Reportes","width=600,height=480,top=10,left=0,resizable=YES,scrollbars=YES,menubar=NO,toolbar=NO,status=NO,location=NO");
	}
//]]> 	
</script>

</h:form>


			</ui:define>

		</ui:composition>

	</h:body>
</f:view>